package com.link2room.aeriabots.facade;


import com.link2room.aeriabots.dto.param.base.WxJspSignParamDto;
import com.link2room.aeriabots.dto.param.base.WxPayParamDto;
import com.link2room.aeriabots.dto.result.api.WxJspSignApiDto;
import com.link2room.common.jpa.result.QueryResult;
import com.link2room.aeriabots.dto.param.api.WxMenuApiParamDto;
import com.link2room.aeriabots.dto.result.api.WxMenuResDto;

/**
 * Created by LN on 2016/11/22.
 */
public interface IWxOfficialAccountsMenuFacadeService {
    /**
     * 查询菜单
     * @param paramDto
     * @return
     * @throws Exception
     */
    QueryResult<WxMenuResDto> getMenuResDto(WxMenuApiParamDto paramDto) throws Exception;

    /**
     * 创建菜单
     * @param paramDto
     * @throws Exception
     */
    void createMenu(WxMenuApiParamDto paramDto) throws Exception;

    /**
     * 更新菜单
     * @param paramDto
     * @throws Exception
     */
    void updateMenu(WxMenuApiParamDto paramDto) throws Exception;

    /**
     * 发布菜单
     * @param paramDto
     * @throws Exception
     */
    void publishMenu(WxMenuApiParamDto paramDto) throws Exception;

    /**
     * 获取微信公众号jsdk 签名
     *  lhotelGroupCode
     *  url 当前页面URL
     * @return
     */
    WxJspSignApiDto requestWxJsSignDto(WxJspSignParamDto paramDto) throws Exception;
}
